package com.power.mock.mockconstructor;

import com.bj58.sfft.utility.dao.basedao.DAOBase;
import com.bj58.sfft.utility.dao.basedao.DAOHelper;
import com.power.mock.config.ConfigPath;
import org.apache.log4j.Logger;

public class DBBaseDao{
	private static Logger log = Logger.getLogger(DBBaseDao.class);
	public static DAOHelper wbestDBHelper = null;

	static {
		try {
			wbestDBHelper = DAOBase.createIntrance(ConfigPath.DB_CONFIG_PATH);
		} catch (Exception e) {
			e.printStackTrace();
			log.error("严重警告：DaoHelper初始化失败");
		}
	}

}
